package com.dove.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.dove.entity.Course;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author dove
 * @since 2022-03-31
 */
public interface ICourseService extends IService<Course> {

    IPage<Course> myFindPage(Page<Course> page, String name);

    List<Course> findCourseByTeacherId(Integer tid);

    Boolean chooseCourse( Integer studentId,Integer courseId);
}
